package org.grow.jssp.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.grow.jssp.entity.Downloadlog;

import java.util.List;

@Mapper
public interface DownloadlogMapper extends BaseMapper<Downloadlog> {
    List<Downloadlog> findList();

    List<Downloadlog> findList(String fileName);

    List<Downloadlog> dynamicQuery(@Param("file") String filename);

    IPage<Downloadlog> dynamicQuery(IPage<Downloadlog> page, @Param("file") String filename);
}